package com.jxs.android.weixi;

import android.view.View;

import com.telecom.weixi.R.array;
public class MyWork_VIP_Laucher extends MyLaucher {

	@Override
	public void onClick(View v) {
		super.onClick(v);
		if (v.getId() == option_1_ll.getId()) {
			show(direction, MyWork_VIP_Laucher_LostUser.class, array.my_work_vip_detail);
		} else if (v.getId() == option_2_ll.getId()) {
			show(direction, MyWork_VIP_Laucher_Revalue.class, array.my_work_vip_detail);
		} else if (v.getId() == option_3_ll.getId()) {
//			show(direction, MyWork_VIP_Laucher_CareFor.class, array.my_work_vip_detail);
			show(direction, MyDoing.class, array.my_work_vip_detail);
		}
	}

	@Override
	public int getSortArrayid() {
		return array.my_work_vip_detail;
	}

	@Override
	protected void showView(LaucherDirection direction, int sortArrayid) {

		super.showView(direction, sortArrayid);
		if (direction.ordinal() == LaucherDirection.OPTION_1.ordinal()) {
			show(direction, MyWork_VIP_Laucher_LostUser.class, sortArrayid);
		} else if (direction.ordinal() == LaucherDirection.OPTION_2.ordinal()) {
			show(direction, MyWork_VIP_Laucher_Revalue.class, sortArrayid);
		} else if (direction.ordinal() == LaucherDirection.OPTION_3.ordinal()) {
//			show(direction, MyWork_VIP_Laucher_CareFor.class, sortArrayid);
			show(direction, MyDoing.class, sortArrayid);
		}
	}

	@Override
	protected void initMainView() {
		super.initMainView();
		option_1_tv.setText("流失预警");
		option_2_tv.setText("价值提升");
		option_3_tv.setText("客户关怀");

	}
}
